import request from '@/utils/request'

function getCateOne(data) {
  return request({
    url:'/category/listOne',
    method:'get',
    params:data
  })
}

function query(data) {
  return request({
    url:'/video-type/queryPageList',
    method:'get',
    params:data
  })
}


function getDetail(data) {
  return request({
    url:'/video-detail/list/'+data,
    method:'get'
  })
}

export default { getCateOne, query, getDetail }